package com.zhang.boot.core.annotation;

import com.zhang.boot.core.security.EncryptRequestBodyAdvice;
import com.zhang.boot.web.config.SecretKeyConfig;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @Author zhangshaobin
 * @Date 2020/10/30
 * @Description
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
@Import({SecretKeyConfig.class, EncryptRequestBodyAdvice.class})
public @interface EnableSecurity {
}
